/**
 * Description:
 * Class Name:TreeSetErrorTest
 * Date:2022/3/5 11:12
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第8章_Java集合._8_3_Set集合._8_3_3_TreeSet类;

import java.util.TreeSet;

class Err{}

public class TreeSetErrorTest {
    public static void main(String[] args) {
        var ts = new TreeSet();
        // 向TreeSet集合中添加两个Err对象
        ts.add(new Err());
    }
}
